package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Category;

import java.util.List;

/**
 * @version 1.0
 * @Author 杨旭康
 * @Date 2022/11/2 11:50
 * @question:
 */


public interface CategoryService extends IService<Category> {

    //分页信息条件查询
    Page<Category> selectPage(int page, int pageSize);

    //根据id进行删除分类
    void removeId(Long id);

    List<Category> listR(Category category);
}
